Developer Documentation

QuickTime 4 API Documentation

Inside Macintosh: QuickTime Components

Previous | Overview | Contents | Next |

Component Flags for Sequence Grabber Panel Components

The Component Manager allows you to specify information about your component's capabilities in the componentFlags field of the component description record. Sequence grabber panel components use the componentFlags field to indicate specific information about their capabilities.

The following flags are currently defined:

enum {
    channelFlagDontOpenResFile = 2,             /* do not open resource
                                                    file */
    channelFlagHasDependency = 4                /* needs special hardware */
};

These flags control how sequence grabbers manage their connection with your panel component. The channelFlagDontOpenResFile flag instructs the sequence grabber not to open your component's resource file. By default, the sequence grabber opens your component's resource file for you, and then provides you with the appropriate file reference number. In general, this is convenient. However, if your component is linked with your application and does not have its own resource file, you may not want the sequence grabber to try to open the resource file. In such cases, set this flag to 1.

The channelFlagHasDependency flag allows you to tell the sequence grabber that your panel component requires special digitizing hardware. If you set this flag to 1, the sequence grabber gives your component an opportunity to verify that it can work in the current hardware environment--by calling your component's SGPanelCanRun function (described on SGPanelCanRun ).


© 1999 Apple Computer, Inc.

Previous | Overview | Contents | Next